<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/WEB-INF/page/share/taglib.jsp"  %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>网站配置</title>
  </head>
  
  <body>
  		
   		<form action="/control/systemconfig/site/update" method="post">
   		          网站地址：<input type="text" name="siteConfigInfo.siteurl" style="width: 400px;" value="${siteConfigInfo.siteurl}"/>（格式为http://www.test.com）<br/>
   			网站名称：<input type="text" name="siteConfigInfo.sitename" style="width: 400px;" value="${siteConfigInfo.sitename}"/><br/>
   			网站标题：<input type="text" name="siteConfigInfo.sitetitle" style="width: 400px;" value="${siteConfigInfo.sitetitle}"/><br/>
   			网站关键字：<input type="text" name="siteConfigInfo.sitekeyword" style="width: 400px;" value="${siteConfigInfo.sitekeyword}"/><br/>
   			网站模板：<input type="text" name="siteConfigInfo.template" value="${siteConfigInfo.template}"/><br/>
   			网站描述：<br><textarea name="siteConfigInfo.sitedescription" style="width: 400px; height: 200px;">${siteConfigInfo.sitedescription}</textarea><br/>
   			统计：<br><textarea name="siteConfigInfo.sitetongji" style="width: 400px; height: 200px;">${siteConfigInfo.sitetongji}</textarea><br/>
   			url设置：<select name="siteConfigInfo.urlwrite_tag">
   						<option <c:if test="${siteConfigInfo.urlwrite_tag == 0 }">selected="selected"</c:if> value="0">动态</option>
   						<option <c:if test="${siteConfigInfo.urlwrite_tag == 1 }">selected="selected"</c:if> value="1">伪静态</option>
   						<option <c:if test="${siteConfigInfo.urlwrite_tag == 2 }">selected="selected"</c:if> value="2">静态
   					</select><br>
   					
   			url模式：<select name="siteConfigInfo.url_mode">
   						<option <c:if test="${siteConfigInfo.url_mode == 1 }">selected="selected"</c:if> value="1">/list/分类id,book/小说id/章节id</option>
   						<option <c:if test="${siteConfigInfo.url_mode == 2 }">selected="selected"</c:if> value="2">/分类文件名，/小说id/章节id</option>
   					</select><br/>
   			<input type="submit" value="提交"/>
   		</form>		
  </body>
</html>
